package com.thyme.system.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jdk.nashorn.internal.objects.annotations.Constructor;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author nana
 * @since 2021-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("iec61850_LN")
@ApiModel(value="Iec61850LnVo对象", description="")
@AllArgsConstructor
@NoArgsConstructor
public class Iec61850LnVo implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "LN inst")
    private String lnInstName;

    @ApiModelProperty(value = "LN描述")
    private String lnInstDesc;

    @ApiModelProperty(value = "LD主键")
    private Integer iec61850LdId;
    /**
     * 生产厂家
     */
    private String vendor;

    /**
     * 在线监测编码
     */
    private String devFuncCode;




//    @ApiModelProperty(value = "创建时间")
//    private LocalDateTime createTime;
//
//    @ApiModelProperty(value = "更新时间")
//    private LocalDateTime updateTime;

    public Iec61850LnVo(String lnInstName, String lnInstDesc, Integer iec61850LdId,String vendor,String devFuncCode) {
        this.lnInstName = lnInstName;
        this.lnInstDesc = lnInstDesc;
        this.iec61850LdId = iec61850LdId;
        this.vendor = vendor;
        this.devFuncCode= devFuncCode;
    }
}
